<?php

$siteId = "";

if(@$_GET["siteid"])
	$siteId = $_GET["siteid"];

$currentTag = $XML1 -> getTag($siteId);

addContent("<div style=\"background-color:#FFFFFF;\">");

addContent("<b>Previous Comment:</b><br/>");

addContent("<textarea id=\"taPreviousComment\" cols =\"80\" rows=\"10\" readonly=\"readonly\">".$currentTag -> getData('x_comment')."</textarea><br/>");

addContent("<b>New Comment:</b><br/>");

addContent("<textarea id=\"taPageEditor\" cols =\"80\" rows=\"10\"></textarea><br/>");

addContent("<a href=\"javascript:void(0)\" onclick = \"onclick_savepagecommentdata('".$siteId."','".$currentTag -> getData('x_section')."')\">Save</a>&nbsp;<a href=\"javascript:Popup.hide('modal')\">Close</a>");

addContent("</div>");

?>